import request from "../service/api";

export const getStationList = (obj) => {
  return request.post('/mini/stationList/v2', {
    ...obj
  }).then((res) => {
    return res?.data;
  })
}
export function getRateDetail(ruleId){
  return request.get('/mini/getPriceInfo', {
    rulesId: ruleId
  })
}
// 桩详情(扫码进入

export function getPileDetail(data){
  delete data?.needJump;
  return request.post('/mini/scanInfo', {
    ...data
  })
}
